﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width" />
    <meta name="author" content="HeZhao"/>
    <meta name="description" content="MvcMusicStore"/>
    <meta name="keywords" content="MvcMusicStore,音乐商店,歌手专辑,专辑,CD"/>
    <title>@ViewBag.Title</title>
    @Styles.Render("~/Content/css")
    @*@Scripts.Render("~/bundles/modernizr")
    @Scripts.Render("~/bundles/jquery")*@
    <script type="text/javascript" src="~/Scripts/jquery-1.7.1.min.js"></script>
    <link type="text/css" href="~/Content/themes/base/minified/jquery-ui.min.css" rel="stylesheet" />
    <script type="text/javascript" src="~/Scripts/jquery-ui-1.8.20.min.js"></script>
    @RenderSection("scripts", required: false)
</head>
<body>
    <div id="container">
        <div id="head">
            <h1 onclick="location='@Url.Action("Index","StoreManager")';" style="cursor:pointer;">ASP.NET MVC MUSIC STORE</h1>
            <ul id="menu">
                @if (!string.IsNullOrEmpty(User.Identity.Name))
                {
                    <li>欢迎您，@(User.Identity.Name)&nbsp;</li>
                    <li>@Html.ActionLink("Exit", "Exit", "Account",null, new { title="安全退出"})&nbsp;</li>   
                }
                <li>@Html.ActionLink("Home", "Index", "StoreManager",null, new { title="后台首页"})</li>
                <li id="last">@Html.ActionLink("Store", "Index", "../Store",null, new { title="音乐商店"})</li>
            </ul>
        </div>
        <div id="admin">
            @RenderBody()
        </div>
    </div>
</body>
</html>
